package com.goldplusgold.database.lib;


import com.goldplusgold.database.lib.proxy.DaoMgrProxyInvocationHandler;

public class ApiDaoMgr {

    /**
     * @param clazz        ApiDaoProxy interface
     */
    @SuppressWarnings("unchecked")
    public static <T> T onCreateApiDaoMgr(Class<T> clazz) {
        DaoMgrProxyInvocationHandler proxyHandler = new DaoMgrProxyInvocationHandler();
        return (T) proxyHandler.bindDaoMgrProxyHandler(clazz);
    }

}
